From: Alessandro Bono Date: Mon, 29 Jun 2026 11:17:07 +0000 (+0200) Subject: shell/global: Plug a leak X-Git-Tag: archive/raspbian/50.5-1+rpi1^2~9^2^2~18 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=3e54d3a913bf057d4fce7ca4d1ca277b952d2d70;p=gnome-shell.git shell/global: Plug a leak global->wm is created with shell_wm_new() which returns a new reference, but it was never released in shell_global_finalize(). Part-of: (cherry picked from commit 39b90e3c43db9d1a610ddf3bec68792423f671a1) --- diff --git a/src/shell-global.c b/src/shell-global.c index 443376f77..2cf5225bd 100644 --- a/src/shell-global.c +++ b/src/shell-global.c @@ -470,6 +470,7 @@ shell_global_finalize (GObject *object) g_clear_object (&global->app_system); g_clear_object (&global->app_cache); g_clear_object (&global->app_usage); + g_clear_object (&global->wm); g_clear_handle_id (&global->before_paint_id, clutter_threads_remove_repaint_func);